package com.neusoft.nep.supervisor.controller;

import com.neusoft.nep.supervisor.service.ISupervisorService;
import com.neusoft.neu24.nep.entity.Member;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

/**
 * SupervisorController 公众监督员模块控制器
 *
 * @author Administrator
 * @version 2024/05/24 10:01
 **/
@Controller
//@Scope("prototype")
public class SupervisorController {
    @Autowired
    private ISupervisorService  supervisorService;

    public void setSupervisorService(ISupervisorService supervisorService) {
        this.supervisorService = supervisorService;
    }

    public   Member login(String logid, String logpwd ){
        return supervisorService.login(logid, logpwd);
    }
}